/**
 * @FileName: authorization.ts
 * @Description: // token获取的组合式API
 * @Author: Ellwood(liugangsin@qq.com)
 * @CreateDate: 2025/2/7 - 14:22
 * @Version: V1.0.0
 */

export const STORAGE_AUTHORIZATION_KEY = "Authorization";

export const useAuthorization = createGlobalState(() =>
  useStorage(STORAGE_AUTHORIZATION_KEY, null),
);
